* {
  margin: 0;
}
header {
  width: 100%;
  height: 54px;
  line-height: 54px;
  text-align: center;
  color: #214B9F;
  font-size: 20px;
  background-color: rgba(0, 0, 0, 0.4);
}
header .back {
  position: absolute;
  left: 10px;
  color: #333;
  font-size: 16px;
}
.none-trolly {
  position: relative;
}
.none-trolly .none-trolly-icon {
  width: 103px;
  height: 103px;
  position: relative;
  margin-top: 50px;
  left: 136px;
  display: inline-block;
  background-image: url(../images/icon1@2x.png);
  background-size: 480%;
  background-position: -148px -147px;
}
.none-trolly .none-trolly-msg {
  margin: 20px auto;
  text-align: center;
  position: relative;
  font-size: 18px;
}
.none-trolly .to-home-btn {
  margin: 30px auto;
  position: relative;
  width: 200px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: #214B9F;
  font-size: 18px;
  color: #fff;
}
.nav {
  width: 100%;
  height: 50px;
  background-color: #214B9F;
  position: fixed;
  bottom: 0px;
}
.nav ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  padding: 0;
}
.nav ul li {
  width: 40px;
  height: 42px;
  margin: 4px auto;
  font-size: 10px;
  color: #cacaca;
  text-align: center;
}
.nav ul li i {
  display: inline-block;
  width: 40px;
  height: 28px;
  margin-bottom: -4px;
  background-image: url(../images/icon1@2x.png);
  background-size: 1300%;
}
.nav ul li .icon-home {
  background-position: -1px 0;
}
.nav ul li .icon-commodity {
  background-position: -53px 0;
}
.nav ul li .icon-trolly {
  background-position: -311px 0;
}
.nav ul li .icon-my {
  background-position: -156px 0;
}
/* ++++++++++++++++++++++购物车+++++++++++++++++++ */
.trolly-list {
  width: 100%;
}
.trolly-list .trolly-item {
  border-bottom: 1px #ccc solid;
  height: 130px;
  width: 100%;
  display: flex;
}
.trolly-list .trolly-item .trolly-choose-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin: 54px 5px 54px 12px;
  background-image: url(../images/icon1@2x.png);
  background-size: 2200%;
  background-position: -242px -96px;
}
.trolly-list .trolly-item img {
  width: 100px;
  height: 100px;
  margin: 15px 0;
}
.trolly-list .trolly-item .detail {
  position: relative;
}
.trolly-list .trolly-item .commodity {
  height: 40px;
  margin: 15px 10px;
}
.trolly-list .trolly-item .commodity .name {
  width: 214px;
  height: 40px;
  font-size: 16px;
  color: #666;
}
.trolly-list .trolly-item .commodity .price {
  display: inline-block;
  font-size: 18px;
  color: #c21b27;
}
.trolly-list .trolly-item .commodity .unit {
  display: inline-block;
  font-size: 16px;
  color: #a8a8a8;
}
.trolly-list .trolly-item .amount {
  width: 150px;
  height: 22px;
  margin-left: 10px;
  margin-top: 35px;
  display: flex;
}
.trolly-list .trolly-item .amount .amount-show {
  width: 55px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border: 1px #ccc solid;
  margin: 0 10px;
  font-size: 14px;
}
.trolly-list .trolly-item .amount .amount-add-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url(../images/icon1@2x.png);
  background-size: 2200%;
  background-position: -96px -48px;
}
.trolly-list .trolly-item .amount .amount-subtract-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url(../images/icon1@2x.png);
  background-size: 2200%;
  background-position: 0px -48px;
}
.trolly-list .trolly-item .delete-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  position: absolute;
  bottom: 18px;
  right: 50px;
  background-image: url(../images/icon1@2x.png);
  background-size: 2200%;
  background-position: -192px -48px;
}
.trolly-bottom {
  width: 100%;
  height: 50px;
  position: absolute;
  bottom: 50px;
  background-color: #e6e6e6;
}
.trolly-bottom .all-choose {
  width: 100px;
  height: 50px;
  line-height: 50px;
  font-size: 14px;
}
.trolly-bottom .all-choose .all-choose-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  position: relative;
  top: 6px;
  margin: 0 14px;
  background-image: url(../images/icon1@2x.png);
  background-size: 2200%;
  background-position: 49px 0;
}
.trolly-bottom .settlement {
  width: 110px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background-color: #C21B27;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 16px;
  color: #fff;
}
.trolly-bottom-XXX {
  width: 100%;
  text-align: center;
  height: 100px;
  position: absolute;
  bottom: 0;
}
